<h2 class="postTitle"><font color = "black">Generowanie pliku pdf</font></h2>
<br/>

<form action="index.php?location=generuj_pdf" method="post">
<input type="hidden" name="location" value="generuj_pdf" />
Nazwa dokumentu: <input type="text" name="nazwa" value="book" />
<table>
      <?php 
      		$section_list = get_all_sections();
      		
      		foreach ($section_list as $section){
      			if (get_sectionID($section[0]) != -1)
      				echo "<tr><td><input type=\"checkbox\" name=\"chosen[]\" value=\"$section[2]\" /></td><td>".normalize($section[0], $section[1])."</td></tr>\n";  
     			}
      ?>
</table>
<br/>
<input type="submit" value="Generuj"/>
</form>
